package com.killer.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@TableName("b_order")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BOrder implements Serializable {

    @TableId("order_id")
    private Long orderId;

    //商家id
    @TableField(value = "company_id")
    private Integer companyId;

    @TableField(value = "order_type")
    private Integer orderType;

    @TableField(value = "product_id")
    private Integer productId;

    @TableField(value = "price")
    private Double price;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "operate_time")
    private Date operateTime;

}
